package com.example.demoserver.service;

import com.example.demoserver.entity.TrainQuestions;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author 18364
 * @description 针对表【train_questions】的数据库操作Service
 * @createDate 2024-11-01 14:08:05
 */
public interface TrainQuestionsService extends IService<TrainQuestions> {
    List<TrainQuestions> select(String searchCode);

    Integer deleteAll();

    PageInfo<TrainQuestions> selectPage(Integer pageNumber, Integer pageSize);
    TrainQuestions selectById(Integer id);
    TrainQuestions selectByqueId(Integer queId);
    Integer deleteById(Integer id);
}
